<?xml version="1.0" encoding="UTF-8"?>
<definitions id="definitions" 
  xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
  xmlns:camunda="http://camunda.org/schema/1.0/bpmn"
  targetNamespace="Examples">
  
  <process id="callTwoSubProcesses" isExecutable="true">
  
    <startEvent id="theStart" />
    
    <sequenceFlow id="flow1" sourceRef="theStart" targetRef="fork" />
    
    <parallelGateway id="fork"/>
    <sequenceFlow id="flow2" sourceRef="fork" targetRef="callSubProcess" />
    <sequenceFlow id="flow3" sourceRef="fork" targetRef="callSubProcess2" />
    <callActivity id="callSubProcess" calledElement="simpleSubProcess" />
    <callActivity id="callSubProcess2" calledElement="simpleSubProcess" />
    <sequenceFlow id="flow4" sourceRef="callSubProcess" targetRef="join" />
    <sequenceFlow id="flow5" sourceRef="callSubProcess2" targetRef="join" />
    <parallelGateway id="join"/>
    
    <sequenceFlow id="flow6" sourceRef="join" targetRef="theEnd" />
    
    <endEvent id="theEnd" />
    
  </process>

</definitions>